package com.briup.cms.web.controller;

import com.briup.cms.domain.Role;
import com.briup.cms.service.impl.SlideshowServiceImplXQ;
import com.briup.cms.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author shaoyb
 * @program: CMS
 * @description TODO
 * @create 2022/12/8 17:28
 **/
@RestController
@RequestMapping("/auth/slideshowXQ")
public class SlideshowControllerXQ {
    @Autowired
    private SlideshowServiceImplXQ slideshowServiceImplXQ;

    @GetMapping("/getCount")
    public Result getCount() {
        int count = slideshowServiceImplXQ.findCount();
        return Result.success("成功"+count);
    }

}
